package com.hsq.ndmall.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 品牌表
 *
 * @author kate-chan
 * @email ccsu_loader@163.com
 * @date 2021-08-11 00:33:11
 */
@Data
@TableName("pms_brand")
public class BrandEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@TableId
	private Long id;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private String name;
	/**
	 * 首字母
	 */
	@ApiModelProperty(value = "首字母")
	private String firstLetter;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Integer sortOrder;
	/**
	 * 是否为品牌制造商：0->不是；1->是
	 */
	@ApiModelProperty(value = "是否为品牌制造商：0->不是；1->是")
	private Integer factoryStatus;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Integer showStatus;
	/**
	 * 产品数量
	 */
	@ApiModelProperty(value = "产品数量")
	private Integer productCount;
	/**
	 * 产品评论数量
	 */
	@ApiModelProperty(value = "产品评论数量")
	private Integer productCommentCount;
	/**
	 * 品牌logo
	 */
	@ApiModelProperty(value = "品牌logo")
	private String logo;
	/**
	 * 专区大图
	 */
	@ApiModelProperty(value = "专区大图")
	private String picUrl;
	/**
	 * 品牌故事
	 */
	@ApiModelProperty(value = "品牌故事")
	private String brandStory;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date addTime;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date updateTime;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private Integer deleted;
	/**
	 * 品牌描述
	 */
	@TableField("`desc`")
	@ApiModelProperty(value = "品牌描述")
	private String desc;
	/**
	 *
	 */
	@ApiModelProperty(value = "")
	private BigDecimal floorPrice;

}
